(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
fst(0, Z) → nil
fst(s, cons(Y)) → cons(Y)
from(X) → cons(X)
add(0, X) → X
add(s, Y) → s
len(nil) → 0
len(cons(X)) → s
Rewrite Strategy: INNERMOST
(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)
Converted CpxTRS to CDT
(2) Obligation:
Complexity Dependency Tuples Problem
Rules:
fst(0, z0) → nil
fst(s, cons(z0)) → cons(z0)
from(z0) → cons(z0)
add(0, z0) → z0
add(s, z0) → s
len(nil) → 0
len(cons(z0)) → s
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:
fst, from, add, len
Defined Pair Symbols:none
Compound Symbols:none
(3) SIsEmptyProof (EQUIVALENT transformation)
The set S is empty
(4) BOUNDS(O(1), O(1))